Predict the categories to which a search query belongs with AI.
hierarchicalCategories.lvl0
as the first level used by the model and hierarchicalCategories.lvl1
as the second level.
group
as the first level used by the model and section
as the second level.
If your records belong to several categories simultaneously,
and you use arrays to represent each level of depth,
the model expects shared prefixes.
For example, Food
as the first level facet value and Food > Fruits
as the second level.
Select categories
Select source
Save changes
very low
, low
, high
, very high
, or certain
.narrow
: the query matches a specific category.broad
: the query matches a category with subcategories.ambiguous
: the query matches several unrelated categories.none
: the model can’t determine a category.broad
, suggest different categories to help users narrow their search.extensions.queryCategorization
.
extensions.queryCategorization
is empty if the Query Categorization model can’t categorize a query.
Food
> Fruits
, reverting the query to automatic predictions.high
and the filtering confidence level is certain
, Algolia boosts high
and very high
predictions and filters on certain
predictions.
extensions.queryCategorization.autofiltering
section has the following content:
blue jeans
and denim
as belonging to the same category (pants
).
Grouped analytics displays the performance of the category pants
(aggregating data for blue jeans
, denim
, and other queries belonging to the pants
category).
You can then compare the performance of the two.
For example, the pants
category’s click-through rate is 10%, but the click-through rate for blue jeans
is only 4% (identified as underperforming).
You can improve the performance of the query by, for example, adding a synonym or a Rule.